package business;

public class PollDefinition {

	private Long id;
	private Poll poll;
	private String code;
	private int sheet;
	private int row;
	private int col;
	private String description;
	private boolean format;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Poll getPoll() {
		return poll;
	}

	public void setPoll(Poll poll) {
		this.poll = poll;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public int getSheet() {
		return sheet;
	}

	public void setSheet(int sheet) {
		this.sheet = sheet;
	}

	public int getRow() {
		return row;
	}

	public void setRow(int row) {
		this.row = row;
	}

	public int getCol() {
		return col;
	}

	public void setCol(int col) {
		this.col = col;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	public boolean isFormat() {
		return format;
	}

	public void setFormat(boolean format) {
		this.format = format;
	}

	public PollDefinition(Long id, Poll poll, String code,
			int sheet, int row, int col, String description, boolean format) {
		super();
		this.id = id;
		this.poll = poll;
		this.code = code;
		this.sheet = sheet;
		this.row = row;
		this.col = col;
		this.description = description;
		this.format = format;
	}

	public PollDefinition() {
		super();
	}

}
